|
|
|
|
|
|
|
RASCS_ConnectDevice,
RASCS_DeviceConnected,
RASCS_AllDevicesConnected,
RASCS_Authenticate,
RASCS_AuthNotify,
RASCS_AuthRetry,
RASCS_AuthCallback,
RASCS_AuthChangePassword,
RASCS_AuthProject,
RASCS_AuthLinkSpeed,
RASCS_AuthAck,
RASCS_ReAuthenticate,
RASCS_Authenticated,
RASCS_PrepareForCallback,
RASCS_WaitForModemReset,
RASCS_WaitForCallback,
RASCS_Projected,
#if (WINVER >= 0x400)
RASCS_StartAuthentication,
RASCS_CallbackComplete,
RASCS_LogonNetwork,
#endif
RASCS_SubEntryConnected,
RASCS_SubEntryDisconnected,
RASCS_Interactive = RASCS_PAUSED,
RASCS_RetryAuthentication,
RASCS_CallbackSetByCaller,
RASCS_PasswordExpired,
RASCS_Connected = RASCS_DONE,
RASCS_Disconnected
};
#define LPRASCONNSTATE RASCONNSTATE* |
|
|
|
|
|
|
|
|
The RasDialFunc function's dwError parameter is a Long value whose meaning depends on the RAS event that is occurring. |
|
|
|
|
|
|
|
|
You don't need to come up with a Declare statement for the RasDialFunc function. Why? Because the function is not in any of the Windows DLLs. It is in a standard module in your own application. Windows is calling back into your application. |
|
|
|
|
|